package com.springcloud.study.consumer.service;

import com.springcloud.study.consumer.service.impl.FallbackServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Description: TODO
 * @Author dongguo
 * @Date 2020/4/7 17:24
 * @Version V1.0
 **/
@FeignClient(value="service-producer", fallback= FallbackServiceImpl.class)
public interface FeignClientService {

    @GetMapping("/hello")
    String testHello();

}
